/**
 * 
 */
package com.hfjyz.registration.service;

import java.util.List;

import com.hfjyz.registration.dao.MasterDao;
import com.hfjyz.registration.model.Master;

/**
 *
 */
public class MasterServiceImpl implements MasterService {

	private MasterDao masterDao;

	@Override
	public List<Master> listAll() throws Exception {
		List<Master> ms = masterDao.listAll();
		return ms;
	}

	/**
	 * @return the masterDao
	 */
	public MasterDao getMasterDao() {
		return masterDao;
	}

	/**
	 * @param masterDao
	 *            the masterDao to set
	 */
	public void setMasterDao(MasterDao masterDao) {
		this.masterDao = masterDao;
	}

}
